﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;

namespace Utility.Web
{
    public class WebSession
    {
        public static object Get(string key)
        {
            object obj = new object();
            obj = HttpContext.Current.Session[key];
            return obj;
        }
        public static void Set(string key, object value)
        {
            HttpContext.Current.Session.Add(key, value);
        }
        public static void Remove(string key)
        {
            HttpContext.Current.Session.Remove(key);
        }
    }
}
